Component: TColourListBox
Version: 1.01
Author: Stefan Wloch
Date: 1 July 1997
Delphi 2, not tested in Delphi 1

This package contains a Delphi component named TColourListBox. It enables you to set a colour for each item within the list box.

You may use this component in your own projects as you wish.

The component was designed to be easy to use, so I didn't bother to write a help.

To change the colour of an item within the list box, simply program the colour as:-

		ColourListBox1.ItemColour[x]:=TColor;

where x is the listbox index of the item that you wish the colour to be changed.

example:
		x:=ColourListBox1.Items.Add('RED');
		ColourListBox1.ItemColour[x]:=clRed;

OR

   ColourListBox1.ItemColour[ColourListBox1.Items.Add('RED')]:=clRed;

You may use any colour and any number of colours within a TColourListBox

----------------------------------------------------------------

Delphi 2.0 Installation

Backup your 'cmplib32.dcl' file as a precaution.
Select 'Component', 'Install'.
Select 'Add', 'Browse'.
Select the directory containing the TColourListBox files.
Select 'ColourListBox.PAS' and click OK on each box that appears.
The TColourListBox controls will be added to the 'Standard' page of your component toolbar.

If anything goes wrong, restore your backed-up cmplib32.dcl and try
again after correcting any obvious problems.

-----------------------------------------------------------------

Delphi 3.0 Installation

Select 'Component', 'Install Component'.
In 'Unit file name' use the 'Browse' button to locate the directory 
and TColourListBox.pas filename.
Install into Delphi default component package dclusr30.dpk
Press Ok

The TColourListBox control will be added to the 'Standard' page of your component toolbar and added to the component package dclusr30.dpk

-----------------------------------------------------------------

Demo Application

Demo.exe is a quick and simple demo of the TColourListBox component.


All the best,
Stefan Wloch